Java.perform(function () {

    var Crypt = Java.use("com.yoloho.libcore.util.Crypt");

    Crypt.encrypt_data.implementation = function (j2, str, i3) {
        console.log("这是j2:", j2)
        console.log("这是str:", str)
        console.log("这是i3:", i3)
        var res = this.encrypt_data(j2, str, i3)
        console.log("这是res:", res)
        return res;
    }
});

// frida -UF -l  8_hook_sign.js
// frida -U -f com.yoloho.dayima -l  8_hook_sign.js